package zhu.areas.tenderbid.data;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import zhu.areas.dic.data.AuditStatue;
import zhu.areas.user.data.User;



/**
 * @hibernate.class  table="T_BidApp"   dynamic-insert="true"  dynamic-update="true"
 * @author Administrator
 *
 */
public class BidApp {

	private    int   bidID;
	private    TenderApp  pro ;
	private    User applier;   
	private    String  applierName;
	private    Date  appTIme;
	private    String  appMessage;
	private    AuditStatue  statue;
	private    Date   auditTime;
	private    String  auditMsg;
	private    String  address;
	
	private Set  tenderComms = new HashSet(0);
	
	
	
	
	/**
	 * @hibernate.id column="BidID"  generator-class="increment"  unsaved-value="null"
	 * @return
	 */
	public int getBidID() {
		return bidID;
	}
	public void setBidID(int bidID) {
		this.bidID = bidID;
	}
	
	
	/** 
	*@hibernate.many-to-one class="zhu.areas.tenderbid.data.TenderApp"	  not-null="true"
	* column="ProID" 
	*/
	public TenderApp getPro() {
		return pro;
	}
	public void setPro(TenderApp pro) {
		this.pro = pro;
	}
	
	

	/** 
	*@hibernate.many-to-one class="zhu.areas.user.data.User"	  not-null="true"
	* column="ApplierID" 
	*/
	public User getApplier() {
		return applier;
	}
	public void setApplier(User applier) {
		this.applier = applier;
	}
	
	
	/**
	 * @hibernate.property column = "ApplierName"   not-null="true"
	 * @return
	 */
	public String getApplierName() {
		return applierName;
	}
	public void setApplierName(String applierName) {
		this.applierName = applierName;
	}
	
	
	
	/**
	 * @hibernate.property column = "AppTime"   not-null="true"
	 * @return
	 */
	public Date getAppTIme() {
		return appTIme;
	}
	public void setAppTIme(Date appTIme) {
		this.appTIme = appTIme;
	}
	
	
	/**
	 * @hibernate.property column = "AppMessage"   not-null="true"
	 * @return
	 */
	public String getAppMessage() {
		return appMessage;
	}
	public void setAppMessage(String appMessage) {
		this.appMessage = appMessage;
	}
	
	
	/** 
	*@hibernate.many-to-one class="zhu.areas.dic.data.AuditStatue"	  not-null="true"
	* column="BStatue" 
	*/
	public AuditStatue getStatue() {
		return statue;
	}
	public void setStatue(AuditStatue statue) {
		this.statue = statue;
	}
	
	
	
	
	/**
	 * @hibernate.property column = "AuditTime"
	 * @return
	 */
	public Date getAuditTime() {
		return auditTime;
	}
	public void setAuditTime(Date auditTime) {
		this.auditTime = auditTime;
	}
	
	
	
	/**
	 * @hibernate.property column = "AuditMsg"
	 * @return
	 */
	public String getAuditMsg() {
		return auditMsg;
	}
	public void setAuditMsg(String auditMsg) {
		this.auditMsg = auditMsg;
	}
	
	
	
	
	/**
	 * @hibernate.property column = "BAddress"
	 * @return
	 */
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	
	
	/**
	 * @hibernate.set table="T_BidComm"  inverse="true"	lazy="true"
	 * @hibernate.collection-key column="BidFormID"
	 * @hibernate.collection-one-to-many class="zhu.areas.tenderbid.data.BidComm"
	 */
	public Set getTenderComms() {
		return tenderComms;
	}
	public void setTenderComms(Set tenderComms) {
		this.tenderComms = tenderComms;
	}

	
	
}
